﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BUS;
using DTO;

namespace QLTV
{
    public partial class frmLoaiDocGia : Form
    {
        public frmLoaiDocGia()
        {
            InitializeComponent();
        }

        private void btnThem_Click(object sender, EventArgs e)
        {
            LoaiDocGiaDTO LoaiDGDTO = new LoaiDocGiaDTO();
            LoaiDGDTO.TenLoaiDocGia = txtTenLoaiDG.Text;

            LoaiDocGiaService.Them(LoaiDGDTO);

        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
